package com.sfac.cqlg.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class PageController {
    /**
     * 127.0.0.1:8080/login ---- get
     */
    @GetMapping(value = "/login")
    public String loginPage(){
        return "login";
    }

    /**
     * 127.0.0.1:8080/index ---- get
     */
    @GetMapping(value = "/index")
    public String dataPage(){
        return "index_jquery";
    }
}
